package com.bestcem.xm.survey.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RespondentSourceEnum {
    RESPONDENT_SOURCE_UNKNOWN(0, "未知来源"),
    RESPONDENT_SOURCE_PREVIEW(1, "预览"),
    RESPONDENT_SOURCE_QRCODE(2, "二维码"),
    RESPONDENT_SOURCE_SMS(3, "短信"),
    RESPONDENT_SOURCE_WECHAT(4, "微信"),
    RESPONDENT_SOURCE_ALIPAY(5, "支付宝"),
    RESPONDENT_SOURCE_EMAIL(6, "邮件"),
    RESPONDENT_SOURCE_CUSTOM(7, "定制"),
    RESPONDENT_SOURCE_EMBED(8, "嵌入"),
    RESPONDENT_SOURCE_DEDICATED(9, "专用链接"),
    RESPONDENT_SOURCE_SAMPLE(10, "样本投放"),
    RESPONDENT_SOURCE_CUSTOM_LINK(11, "自定义链接"),
    RESPONDENT_SOURCE_CUSTOM_API(12, "接口投放"),
    RESPONDENT_SOURCE_WECHATMP(13, "微信公众号投放"),
    RESPONDENT_SOURCE_WECHATMINI(14, "微信小程序投放");

    @EnumValue
    private final Integer value;
    private final String name;
}
